 			return (node._alias) + "." + textProperty
 
 	_refreshItemDom: (itemDom, node, parentScope) ->
+		nodeScope = cola.util.userData(itemDom, "scope")
+		if nodeScope?.data.getTargetData() isnt node
+			collapsed = true
+
 		nodeScope = super(itemDom, node, parentScope)
 		node._scope = nodeScope
 

						click: () -> tree._onCheckboxClick(node)
					)

		if node.get("expanded")
			if node._hasExpanded
				@_refreshChildNodes(itemDom, node)
			else
				@expand(node)
		else
			nodeDom = itemDom.firstChild
			$fly(nodeDom).toggleClass("leaf", node.get("hasChild") == false)

		if node == @_currentNode and @_highlightCurrentItem
			$fly(itemDom).addClass("current")
		return nodeScope



		@_currentNode = node

		if @_currentItemAlias
			@_scope.set(@_currentItemAlias, node?._data)

		if node
			itemDom = @_itemDomMap[node._id]
			if itemDom and @_highlightCurrentItem
