Fix for event propagation in menu behaviour