Why only one of the two rectangles is painted?

Printable View