Fixes bug, removes dead target hp bars

There was a segfault in the previous commit. This should fix it. This
also serves to remove hp bar display when the lastTarget has died.