Do not fire invalid events for buttons