glassEffect geometry bug when using rotationEffect

If using .glassEffect or .buttonStyle(.glass) along with .rotationEffect(), the view's geometry grows in size (proportionally to the degrees of the angle):

struct ContentView: View {
    var body: some View {
        ZStack {
            Color.red.ignoresSafeArea()
            VStack {
                Image(systemName: "globe")
                    .imageScale(.large)
                    .foregroundStyle(.tint)
                Text("Angle: 30")
            }
            .padding()
            .glassEffect(in: .rect(cornerRadius: 20))
            .rotationEffect(.degrees(30))
        }
    }
}

The expectation is that geometry stays the same, regardless of rotation. This has been a bug in all the betas, and is now also confirmed in Xcode 26 RC and iOS 26 RC.

glassEffect geometry bug when using rotationEffect
 
 
Q