When tasked to gather entities looked for resources close to their current location when the target was invalid (e.g. full). This patch makes it such that on forced orders the entities will look for resources close to that order's location, when possible.
Since we need to use the formers target position for that, it can happen that we still look for resources near our current location. E.g. when we have queued the order and the target dies in the meantime.
That can be fixed by always including the position at which the target was when given the order, if deemed necessary.