Fixes to MetamorphView's DOMManager replace
Merge pull request #2482 from wagenet/metamorph-replace-fixes

Fixes to MetamorphView's DOMManager replace