Window resolution now gets set according to the screen resolution