Attach container to DOM before initialising target in demo

Otherwise toolbar measurements fail and it collapses

Bug: 59720
Change-Id: Ia296f073b40abe4a5193927b8da960a5d54c99df
Merge "Attach container to DOM before initialising target in demo"