Since this is a known electron issue that still has not been fixed (https://github.com/electron/electron/issues/32760), I am trying to apply the workaround suggested, namely disabling hardware acceleration. I am aware that this will severely impact application performance, but I still want to try.
Is there any way I can pass node environment variables to the packaged application, e.g.
NODE_OPTIONS='--disable-gpu --disable-gpu-rendering'
If not, I will just leave it for now. Thanks anyway for quick and elaborate response so far.