The trick is to send your pet to attack or already have it attacking the target as you deathcoil. Once it bugs out just face the direction your pet is running to (the target) and you'll be able to cast like normal. It's really a bad bug that should be fixed asap.
example at 2:30 with fear, but same concept: