Bug 103477: Make NodeRenderingContext::parentRenderer and nextRenderer top layer aware

The test passes if you see a green rectangle in the center of the viewport.