Fix for VTK6.2 issue.
Merge pull request #2905 from Jazmann:2.4