Fix a framebuffer issue with the OpenGL 2.1 renderer.