Fix for non-exising offscreen GLWidget resize