A helly-type theorem for widths