StoreKit purchase windows very buggy on MacOS

As you can see in the screenshot, the verification popups that appear when making a StoreKit purchase cut off the buttons. When typing the code into the input field, the window will also flicker and stutter with random view refreshes. Is this something I can configure/change? It's not a very pleasant experience for making an in app purchase.

StoreKit purchase windows very buggy on MacOS
 
 
Q