Fixed dead units not being removed from unitMap