Render only when we have a valid context
Another way to fix the issue
Merge pull request #764 from UV-CDAT/fix_vtk_warnings

Render only when we have a valid context