[JUCE 6.0.7/Apple Silicon] setSize() causes UI glitches on Apple Silicon AU

I’m getting some visual glitches when trying to resize a UI using setSize() when running my plug-in as an Apple Silicon AU inside Logic on Big Sur. There is a brief but nasty “flicker” before the resized UI is rendered correctly. The problem is not there when testing the same build as a Intel AU inside Logic opened via Rosetta. VST3s also look fine but I haven’t tested those with Apple Silicon yet.

After inspecting via a screen recording it looks like the UI content changes position just before the UI is resized, and then it jumps back into the correct position.

Any ways to fix that?

Thanks!