Resizing of game window simplified