Fix for unit pathing
- setting of pathing parent now takes into account distance from the start in addition to distance from target