Fixed a minimum size for the window.