fix weird safari flex wrap bug when relative widths are used