fix fbo rendering for ios