Fixes @Renderer.LayoutPath not working on Template.