Fix for FBO on iOS devices. Allows buffered rendering (from rock88).