Fixes for OpenGLES2