Fix highlightType for TextHighlight