Rendering needs to invalidate nested shadow trees

If we don't do this the redistribution breaks.

Fixes #383