Revert back changes for VTK 5.10

Reverted back the fix we removed for VTK 5.10.

Fully tested with Alex.