Widget not consuming first click after changing visibilities

I hide a widget when I interact with an object to allow the player to see the new menu.
After exiting the new menu I make the first widget visible again. The problem is that it will not recognise a click over it until after the player has clicked anywhere in the viewport.

Is there a setting or node that would make the widget recognize the first mouse click after changing visibilities? or is this perhaps a bug?

Found it.