SetMouseCursorWidget location wrong in 4K

We’re using APlayerController::SetMouseCursorWidget to use a UserWidget as our mouse cursor. It works perfectly at regular resolutions, but on a high-DPI 4K monitor, the cursor position is incorrect.

Its position doesn’t seem to be correctly scaled for DPI.

Does anyone know how to fix this?

Hello Ben; I ran into this problem or a similar one and after some testing I think I may have found that the issue only happens when playing in a new viewport with the editor. I used powershell to open an independent instance of the game and the cursor locks to where it should be just fine.

Any news on that issue?