Added minimum size of windows