Fix menu to only accept clicks when in the right mode