Getting error libEGL: call to OpenGL ES API with no current context (logged once per thread) 