Shock collars cause Cobra's danger sense to make you face another direction.
I can add to this, Burn and Poison damage make you face the source of those status effects at the start of each round.
This has been corrected for self-inflicted damage. Status damage is working properly (the way you described).