Fix text view undo delete operation text selection issue.