fix window size under windows