Hackish fix for VTK interaction. To be fixed better later.