Fix to prevent the initial window size being set wrongly.