try to fix call to opengl es api with no current context