patch for event propigation in the headermenu plugin