Fixed VTK 6 compatibility (Changes in the API)