macOS: Fix hang when minimizing the window
macOS: Fix hang when minimizing the window

Without this patch, after minimizing the window, we stopped receiving
events from macOS. It looks like "dequeue" argument of
"nextEventMatchingMask" must be YES to avoid this.

aseprite/laf,aseprite/laf