Widget forces cursor to be visible

I am having a weird issue I’ve never encountered before. I create a widget and add it to viewport, the moment this happens the mouse cursor becomes visible automatically. I have not set it to be visible anywhere, and even checking the bool if the mouse cursor is visible from the player controller returns false. Setting it also to false when its created to try to force it does nothing, the cursor is still there.

I’ve tried all 3 input modes, still persists.
I should also mention that this widget has an override for KeyDown to check if certain keys were pressed.

That’s pretty much it, a very simple, very basic widget, i am at a loss. Any ideas as to what might be causing this and how to resolve it?

I actually managed to solve it finally. Setting the widget as not Focusable removes the cursor, but this caused the OnKeyDown to stop working.

On event construct i used Set Keyboard Focus, and then SetShowMouseCursor to False. Also the widget was re-set to be focusable. This kept the keyboard focus and FINALLY removed the cursor.
I also had to remove the SetInputMode node for this to work, adding this causing the cursor to be visible again.