opengl: Fix wglMakeCurrent bug.