fix bugs with makeCurrent (OpenGL) and updating window (scrolling)