Switched import order, import OpenGL before PyQGLViewer