small fix for the initial window size