fix glwindow not resizing with window