v2.2.11: Fixes section insertion after hidden fields
Ensures that sections are correctly inserted after other form elements, even when hidden fields are present, by skipping hidden fields when determining the last component. This prevents sections from being incorrectly placed before hidden fields.