Fix CSS bug for menu in Safari