Click a rectangle to move it to the front.