Echo Ultimate Bug

i found a bug while playing echo that when i duplicate a hero and they immediantly die the ultimate cancels and the cost resets