Make sure we're using the bounds of the view for our mouse region
diff --git a/src/video/uikit/SDL_uikitview.m b/src/video/uikit/SDL_uikitview.m
index c28aab8..2fcb0ce 100644
--- a/src/video/uikit/SDL_uikitview.m
+++ b/src/video/uikit/SDL_uikitview.m
@@ -153,7 +153,7 @@ extern int SDL_AppleTVRemoteOpenedAsJoystick;
SDL_SendMouseMotion(sdlwindow, 0, 0, (int)point.x, (int)point.y);
}
- return defaultRegion;
+ return [UIPointerRegion regionWithRect:self.bounds identifier:nil];
}
#endif /* !TARGET_OS_TV && __IPHONE_13_4 */