Fixed a bug where cloneView was not being called