Menu resize problem fix