Fix Base.prototype.toDOMText