Made a minimum size for the window