window is now the correct dimensions