Fix sRGB framebuffer on OSX