Toolbar in XIB file created with XCode 12.3 looks different in XCode 13.4

An application toolbar in an XIB file created in XCode 12.3 on MacOS Catalina from an Objective-C project appears as below

But in XCode 13.4 it appears as below (the rotate icon has been changed)

When the application is run under Xcode 13.4 or on MacOS Monterey the application toolbar appears as below

How can I make the toolbar appear as it does in Xcode 12.4 when running on Monterey or using Xcode 13.4?

Checking Hide Title Text in the panel attributes results in the expected display in Xcode 13.4 in design mode but when run, the application spaces the toolbar items so much that the right-hand ones disappear and are shown in a disabled menu

Rebuilt the toolbar in Xcode 13.4 but flexible space toolbar item does not have any width, so replaced with 3 regular spaces to give apperance as shown below.

When run on Catalina the toolbar appears as in the first image.

Toolbar in XIB file created with XCode 12.3 looks different in XCode 13.4
 
 
Q