fix window width/height