Crash when changing anti-aliasing

When trying to turn anti-aliasing off during a flight, the app always crashes.

Device: iPhone 13 Pro
Operating system: iOS (latest version)

Have you tried to turn it off while not flying?

Yes but that means exiting the flight which is inconvenient