use Sdl.get_window_size instead of window_size from the event

The Exposed event has 0,0 as window size in the event itself.