Fix issue #1306: ac.partial.render() throws error for handlebar custom helper