Partial fix for vtk rendering.