fix VTK version issue related to SetInput()