Fixed intelligent animal bug.