Fix error on menu binding events