The previous fix was merged to develop here:
Unfortunately, this change had some unintended consequences - on an M1 machine running macOS 13.4, the borders of dialog windows in the Projucer were not always rendered correctly.
That new issue seems to be fixed by this change: