Safari flex box fixes