Added path fix to blocks template render method