XWIKI-10262: Manage the RenderingContext when running transformations outside of the TransformationManager