[BUG] cast can't finish if target died while casting