[TextEditor] Fixed inactive selection text.