Fix issue with the initialization of the view in the demo