Enable minWidth and minHeight in the windows.

This will fix the minimum size to the specified one with css.