Fix bug bugAgent who does not move