minor patch to window size