Issue #14: can now edit rectangles