Click a rectangle to move it to the front.

Double-click a rectangle to delete it.