allow Theme::render() to be called multiple times; related #1546