why doesn't SetShowMouseCursor work when in GameAndUIMode/UIMode

Just tried it… makes the cursor invisible after a click is made… but doesnt stop it from clicking at all