Fix invalid dash array: at least one element must be non-zero.