Unit target should now be lost when out of range

Minor fix