fixed segfault - desctructors of vtkRenderWindow resets shared_context anyway