       @path.attr path: @path_string()
     else
       @path = @paper.path(@path_string()).attr({stroke:'#ff0000', 'stroke-width': 1})
+      @set.push @path
   movePoint: (p, x, y) ->
     p.attr({cx: x, cy: y}) 
     @updatePath()

    _create_point = (x,y) ->
      snapped = _snap_to_grid(x,y)
      unless scope.findPoint(snapped.x, snapped.y)  
        _register_actions scope.addPoint paper.circle(snapped.x, snapped.y, 5).attr({fill: '#ff0000', stroke: 'none'})

    _start_line = (x,y) ->
      snapped       = _snap_to_grid(x, y)
      _current_line = new Line(snapped.x, snapped.y, paper)
      _current_line.p2.click (e) ->
        xy = _get_x_y e
        _end_line(xy.x, xy.y)

      width:  padding*2+width+'px'
      height: padding*2+height+'px'

    paper              = new Raphael(element.find('.canvas')[0], (padding*2)+width, (padding*2)+height)
    glass              = paper.rect(padding,padding,height,width).attr('stroke': 'none').attr('fill', 'white')
    scope.image_set    = paper.set()
    scope.points_lines = paper.set()

    _draw_background()

