Fixes issue where template views were getting wrapped in an outer div