Fix the size of window