Widget: Hover works, right-click works, left-click needs double-clicking. Why??

It’s a button. The inventory spawns buttons at the start of the game, and the whole inventory widget is part of one main widget that has many widgets in it. But hovering and right click work fine so it can’t be a focusing problem, I checked everything in that matter.