Fix crash on markedTextRange unsupported text component.