Why does clicking a widget pause the game?

It’s my own widget in game, extending from SCompoundWidget