Fixed window size issue