Fix error of deleting textnode with caret around uneditable