Fixed set x,y coords. Porblems with getting right coordinates from
scene. Problem with right snapping edge to nodes (big offset)