Cannot reproduce. It works for me without issue even with shared VTK libraries. Please share project files, if possible.