Are you also running a computer with low specs? It looks like the browser's garbage collection tossed out an important object too soon
Maybe that's it, I was playing on my laptop lol. I was able to get past it and play the game, mostly properly, it was something I kept running into but it wasn't consistent thankfully and I saved a lot so everytime it was an issue I just restarted.
Great job by the way! I ended up really like the story and all of the glitchy effects, I like how cohesive everything turned out to be.
https://gensun.itch.io/the-legend-of-babalu
This is the only other game with this plugin, but otherwise Caveman 2044 was the first game which I've gotten reports about this bug that's deleting important objects from memory on low spec computers