Cursor hover result when cursor is not visible

So In player controller there is a get hit result under cursor for objects in a timer, so I know it works.
But I need to set my mouse to visible for it to work?
Why is that and is there a resolve for it?

118023-mousecursor.png