Update min window height to be 8 when doing automatic switching