Fix the actor constructor to set the actorID.