Can't change vertex visibility after first render

For context I am using vtk 9.5.0