Fix refactoring bug in dashes around rounded corners (#28378)

Accidentally introduced in #28341

Release Notes:

- N/A
9f708ee789Michael Sloan committed on 4/9/2025, 12:00:30 AM· committed by GitHubparent58731e2
2 files changedLine totals unavailable