Correctly align headingElement and summaryLabel when in the group. (cherry picked from commit c226d004)