Electron+[CATransaction synchronize] called within transaction

I’m getting the following log file entry when a modal (eg a file selector or an infobox) is popping up in my ElectronJS app (build with the meteor-desktop package):

Electron[36961:2858737] +[CATransaction synchronize] called within transaction

Apparently it’s a bug that was introduced with MacOS 13 (Ventura) as discussed here or here. It’s also an issue in the Electron repo

Additionally to this log message it seems to cause problems with the Meteor remote.call function. It’s send to the backend but the returned value from the backend is never received.

I’ve tried the same version of the app under Windows and it works fine.

MacOS Ventura 13.4.1 (c) (22F770820d)

Does anyone know a solution apart from waiting for Apple to fix this?

Thanks in advance!