How to Show Mouse Cursor without losing mouse capture?

I’m using the Enhanced Input System that Epic set up for LyraStarterGame.

The one and only change that I’ve made is that I changed the input such that the mouse input doesn’t pan the camera unless the middle mouse button is also pressed. This way I can move the mouse around the screen and click on things independently of panning the camera.

I’ve done nothing at all with the left or right clicks, which are the things that are breaking the input IF and only if the mouse cursor is visible.

Somewhere deep in UE it’s doing something like “if cursor is visible, don’t let mouse input get to the game.”

I’ve tried various forms of SetInputMode() but none of them seem to do what I want, which is to have the mouse be visible AND still send the enhanced input system mouse movement events to the game.