 		unless @item
 			return
 
+		@item.visible = false
+
 		# parent
 		if @isAutoParent
 			@lastItemParent = null

			unless utils.isEqual(classes.items(), @classes)
				@classes = utils.clone(classes.items())

		@item.visible = @visible
		@item.document.node = @node
		@item.document.visible = true
		@updateText()
		@updateVisibility()
		@syncClassAttr('')


		itemDocumentNode = @item.document.node
		@item.document.node = null
		@item.document.visible = true

		tmpNode = @node
