RF-13455: Reverted the change introduced to the RenderExtendedVisitContext in RF-13107, and instead overrode the AbstractTab#visitTree method to achieve the desired result.
RF-13455: Unwrapped the VisitContext to determine if it is a RenderExtendedVisitContext
RF-13455: Re-factored the AbstractTab@visitTree method to properly affect all toggle panel items, treating those with header facets separately