Camouflage not hiding pet

I’ve noted this issue on a number of occasions, to the point where I have had to dismiss my pet - if I activate Camouflage and pass one or more mobs, they will pick up on the pet but not me.

I don’t know if this is a bug or delibate, but its odd as the tool tip says that it hides the pet and me.