I have no idea if it's from itch or godot but the bug is only there when you play in the browser.
I don't know if it's the browser because I haven't tested it in other browsers.