Call the itemViewContainer in the context of the CompositeView

If `itemViewContainer` is specified as a function, it is called in the global context, which isn't cool. This fixes this issue by ensuring that the `itemViewContainer` is called in the context of the `CompositeView`.