Fixed bug where sections would not display properly after template is rendered.