Cleanup render_asset helper [ci skip]