you move the creator with 50 per wait unit, but your vec_dist searches only in an range of 25. This COULD cause the problem, if the creator has an 25dividable distance to the endpos.