Fix to patch pyOpenGL is more robust