UISearchBar shape on visionOS

In visionOS beta 6, the height of the text field in the UISearchBar was dramatically increased without changing the corner radius to match, so now my search bar looks a bit weird when it's placed near the corner of the app window (which has a very large corner radius). I would prefer a pill shape (i.e. completely rounded corners) for the UISearchBar's textfield if it's going to be that tall.

Is there a way to change the corner radius of UISearchBar's text field on visionOS? The method that works on iOS doesn't appear to work on visionOS, I assume because of the inset appearance.

UISearchBar shape on visionOS
 
 
Q