Fixes freeze introduced by 9511f65 where event_process wouldn't go to the next window if it's hidden.
9511f65