Click a rectangle to move it to the front.
Shift-click a rectangle to delete it.