I guess it's possible this isn't a bug but it seems odd: royal guards will panic when shadow creatures are near the same way they panic from vampire bats' shadows.
Steps to Reproduce
Get low enough sanity for shadow creatures to start spawning, go near some royal guards.
Get low enough sanity for shadow creatures to start spawning, go near some royal guards.