Fix framebuffer using OpenGL