Fixed unselection bug