Fixed safari flexbox issue