Fix 'InvalidOperationException: Sequence contains no elements' in CaretReferenceHighlightRenderer.Draw