Fix `clear()` not re-rendering the tree.
Build sm-treeview.