Fixed resizing glitch, where game stopped rendering during a resize