Terror Wight (Dark Embrace) doesn't trigger when dying from spell cost

v0.0.38

I have a Mirage Occultist casting a %HP spell breath. When it dies from casting, Terror Wight’s Dark Embrace doesn’t trigger.