window size bug