Just a little fix for a tree_panel. It just work, but is still bad-documented and not-tested