Fixing the window height to not overflow.