fixed command panel unit deselection
fixed command panel unit switching bug