[TIMOB-15278] Ensure we get the templates back after view detaches

Fixes [TIMOB-15278](https://jira.appcelerator.org/browse/TIMOB-15278)