Happens a lot with my BLM too. If the target dies, I just move a little bit to cancel the cast and get a bit closer/further away from my next target.