make opengl render stuff on osx without resizing the main window