Maximize window if new dimensions fill the screen.