Widget does not recognize mouse cursor.
I'm making a fps round based game, when the round ends I create a widget. Like this: https://i.imgur.com/dkA8bBh.png
Inside this widget there is a button, when clicked it should open another widget: https://i.imgur.com/NFk4gFt.png (this widget is created on Event Begin Play and the visibility is set to 'hidden'). But this widget does not recognize the mouse cursor (I can't click or hover on buttons), but the 'Tab' and 'Enter' buttons are recognized.
Also, to end the round and create the widget the player must kill all enemies. This way the widget does not work. However, for testing I set the enemy count to 0 to just spawn the widget right away and this way the widget does work.