UMG: When a Widget has focus, Action Mappings aren't handled on the Player Controller

Mapping not working when pausing the game is a different issue, and yes, as you pointed out, very easy to solve. The problem is mapping not working when in Menus.