Most significantly, corner masking wasn't working correctly pre-iOS 14.
This is because UIStackView's backing layer doesn't support
-cornerRadius. To work around this, we add the stack view to a wrapper
view. The corner radius is applied to that instead with masksToBounds
set true.