Why BindAction is not working over buttons?

I want a function to be fired on MouseButton1 click:

local ContextActionService = game:GetService("ContextActionService")

local function Click(actionName, inputState, inputObj)
	print(actionName, inputState, inputObj.UserInputType)
end

ContextActionService:BindAction("Click", Click, false, Enum.UserInputType.MouseButton1)

This won’t work if I click on a TextButton.
Is this correct?