Fix #16688 re-expand treeview after reload