Closing as not a bug. In your attached .capx the touch positions do not line up with the layers, because you change the layer scale and use Touch.X and Touch.Y without a layer param. If you use the expressions which specify a layer e.g. Touch.X(0) or Touch.X("Game") it lines up and works OK.
Ashley sorry for that mistake, I update the project, but now i use the X.posx ando X.posy when we click on the map and the same bug persist; i did this because in my project I use specific pos of the objects place in the map, the strange is that the bug happen only some times no all the times
look at the example 2, I try to trace the route to the office of other building, but the sprite stuck in the route, the posicion that i used are a office´s doors positions.
this is how to work the code of this example
https://www.scirra.com/forum/download/file.php?mode=view&id=4023
[attachment=0:d5t2msbe][/attachment:d5t2msbe]
https://dl.dropboxusercontent.com/u/13512632/pathfinding%20bug2.gif