Fix early binding Layout to document.body.	

this cannot be simply tested with our tests (requires DOMReady), so they are not here