Fixes height issues for small windows.