Fix menu bug in Firefox