fix: no move outside if it's a detour (CURA-579)
fix: no move outside if it's a detour (CURA-579)

Ultimaker/CuraEngine,ROBO3D/CuraEngine,ROBO3D/CuraEngine,totalretribution/CuraEngine,alephobjects/CuraEngine,totalretribution/CuraEngine,totalretribution/CuraEngine,alephobjects/CuraEngine,alephobjects/CuraEngine,Ultimaker/CuraEngine,ROBO3D/CuraEngine