Set current location when setting path in dynamic task