correct window size