P3D bug on MacOS Ventura

Hi, I want to ask if anybody else are facing issues and possibly have a solution for running P3D on MacOS Ventura.

I am using Processing IDE. I tried built-in examples. The normal size(100, 100) works as expected, but when I use a renderer such as size(100, 100, P3D) the window is not plotted. However, when I enter Mission Control, I can see the window edge highlights, and a small thumbnail above.

macOS 13.0 Beta (22A5321d)
Processing IDE 4.0.1 (August 9, 2022)

Added this issue to Processing repository: https://github.com/processing/processing4/issues/544