[video included] Lag when switching tabbed documents only in versions after 7.4

I use Groupy2 by Stardock to group windows together with tabs at the top.

It works perfectly for LibreOffice Writer versions before 7.5; in more recent versions there is significant lag when switching between documents.

Version 7.4 seems to have issues with my dark theme, often making the menu text unreadable. So I’d like to use the latest versions of LibreOffice ideally.

I can’t imagine it’s an issue with Groupy2 because it works with every other program as well as LibreOffice 7.4 and earlier.

Does anyone have a solution to my lag issue, or any ideas of why newer versions cause switching between documents to lag, but not versions before 7.5?

I made a video to illustrate the issue:

Thanks for reading!