Pet issue?

I will be as clear as possible. I went to ghost town to look for material to make a potion to restore points, as soon as I arrived I took out my pets and killed the ghosts, I went from one moment to the next, my pets They made normal moves in the game.