Fix drawing of segmented tracks in both GL and DC mode