Fixes problems with SC.TemplateCollectionView and new view statechart structure.