Report correct window size in the screen mode event if maximizing the window on startup. Closes #247.