why doesn't SetShowMouseCursor work when in GameAndUIMode/UIMode

I have a menu that for the most part requires the mouse… but at a certain menu i want to just wait for a key to be pressed and the mouse screws things up