Fix broken click handling on ActionButton/ActionLink.