bug fix in eglMakeCurrent() - if we are releaseing context, we must call
eglMakeCurrent synchronously, otherwise, we are switching to the same
context, we can call it async.