Automatically resize and center the game