Crashes on MacOS: NSWindow drag regions should only be invalidated on the Main Thread! This will throw an exception in the future.