Fixed the bug where units that were selected would die but not be removed from the selected list, essentially becoming invisible units with invisible bullets.