Fix FBO issue for pyopengl backend