fix OperatorCategories: handle click event reliably