fixed a case where setting a route while moving caused it to be
recalculated