Double frame of applications window started through Wine (Bottle)

Some applications launched via Wine (Bottle) that do not have a kde window frame are displayed with a “double” frame, as in the screenshot (main window without a frame + black frame with transparent space):

Earlier this application launched via Wine (Bottle) displayed ok.
What could be the reason for the double frame?
I tried changing the Wine (Bottle) settings, but it didn’t help. If I disable “Allow window manager to manage Wine windows” in Wine (Bottle) settings, the second black frame is not displayed when the application is launched, but if I move the window, this second black frame appears again.
What would you recommend to get rid of this second frame?

Operating System: Fedora Linux 40
KDE Plasma Version: 6.2.2
KDE Frameworks Version: 6.7.0
Qt Version: 6.7.2
Kernel Version: 6.11.5-200.fc40.x86_64 (64-bit)
Graphics Platform: Wayland