refs #3 fix resnapping to objects.
When dragging line and mouse is released delete dragged line if there is no object under mouse. If there is object under mouse snapp line to it