Fixed bug where the destination flag would still appear even if a unit was deselected