The .exe version works but it seems like itch.io doesn't like the browser version since I can't replicate the issue outside of itch. For now I've just disabled the browser version. I could try to fix it but I've been working on this for 3 days and I need a break.