Validate windowwidth/windowheight better at startup