The implementation of the methods WebForm#setCssBoxForElement and getCssBoxForElement links the elements to the
generated CssBox'es.
That looks like a potential memory leak, probably now avoided thanks to garbaging the document when closing the component.
Check that and revise the impl.