Thanks, I already had a workaround in place. My issue actually related more to the focus behavior than to the visuals.
I'm filing a bug report for this. Also I just checked this in Xcode/iOS 26 and in beta 1 this is even more broken. Neither horizontal nor vertical get disabled properly.