Optimize treeview render speed.