Just an idea: maybe it's because you have the Kill shot any target enabled? If these pets are on low health, the routine will try to kill shot them if enabled. Take a quick look in the settings...Hello TuanHA,
Aside from the Rogue part at the start, I did not tell it to switch target, yet it seemed to want to move from me targetting the Hunter, to targetting pets and other players in the area.
Edit: I also can't be certain but this may be doing it for your other routines too?
-Grim