fixed safari display flex bug