rm rectangles when clicked