workaround for flex box bug in webkit