- Make improved calculation of minimum window width and height
