As we don't use scrolling flex layouts directly in panes that often, the methods that would normally be applied to containers that should fill the space weren't applied here. Should help un-stuck #19872's layout issue, but I'm merging this change separately in case it creates some other layout issue in panes. Release Notes: - N/A