Implemented unselection of shapes.