fixed endless loop with SDL when starting up in fullscreen with r_allowResize 1