Test that an invalid region, part of a dependency cycle, does not try to repaint content from its corresponding named flow.

On success it should not crash and you should see 3 rectangles painted in the following order: green, blue, orange.