                 // remove highlight on mouse out
                 function(e:SelectionEvent):void
                 {
-                    e.node.lineColor=_default_node_line_color;
+                	restore_node_line_color(e.node);
                 }));
 
             vis.controls.add(new ClickControl(NodeSprite, 1, function(evt:SelectionEvent):void

            return node.data.is_point_of_control;
        }

        private function restore_nodes_color():void
        {
            for each (var _node:NodeSprite in vis.data.nodes)
            {
                _node.data.highlighted=false;
                _node.fillColor=_default_node_fill_color;
                if (isPointOfControl(_node))
                {
                    _node.lineColor=_node_point_of_control_line_color;
                }
                else
                {
                    _node.lineColor=_default_node_line_color;
                }
                _node.focusRect=true;
                _node.dirty();
            }

                }, NodeSprite.OUT_LINKS);

            node.fillColor=_default_node_fill_color;
            restore_node_line_color(node);

            node.visitNodes(function(n:NodeSprite):void
                {
