RF-13455: Reverted the change introduced to the RenderExtendedVisitContext in RF-13107, and instead overrode the various toggle panel item visitTree methods to achieve the desired result.