Fix menu support firefox.