Fixed issue with rendering a template within a section