Fix for iOS openGL framebuffers.