why doesn't SetShowMouseCursor work when in GameAndUIMode/UIMode

In UI Only mode the cursor may be defined by the widget, not the player controller. You can disable the cursor in the widget’s detail panel by setting Cursor to None:

276969-properties.png