[Bug 839] opengl window minimizes when the program makes another window active