Hiya, I'm afraid I don't know how to fix that; it seems to be an issue with Ren'Py itself. Apologies for the inconvenience!
Maybe look into the build properties some .toml configutation files? IDK that is my first guess.