It also appears that a RenderObject is always on a layer when rendered. Assert this in the code. This saves some extra branches.
4c52a147b0