Horrifying the deceased

I have a creature with a gem that casts horrify on kill. It always horrifies the thing that is already dead. Is that working as intended?

Frank.