VTK6.x compatibility commit, please make sure you upgrade your vtk repository before applying this commit