What is happening:
The pets aggro remain on the last targeted enemy from every point in the map when switching between passive or follow to any other state.
In the sit state the pet will still run off to attack enemies.
Despawning the pet and respawning it again reset the aggro.
After some attacks the pet stop dealing damage while keeps geeting hit.
Game client version: