Games update at ~30fps due to Firefox throttling `setTimeout`
https://github.com/aduros/wasm4/blob/c82cfb896fe11db7c2d7626a8275ec2d197a9674/runtimes/web/src/ui/app.ts#L489

See this stackoverflow post from 2019 (which was incorrectly marked as a duplicate):
https://stackoverflow.com/questions/59446882/firefox-is-throttling-setinterval

And a firefox bug that I filed which contains reproduction steps:
https://bugzilla.mozilla.org/show_bug.cgi?id=1783950

---

It seems like updating the game in requestAnimationFrame() might allow us to update at 60fps, but as the stack overflow post points out requestAnimationFrame() is probably capped to the refresh rate of the display, which means on a 30hz panel updating the game would not happen smoothly.

---

One thing that we can do that would probably mitigate this is to call `update` multiple times in one `loop` if we are behind. In terms of frame times this would be janky, but at least the game won't run in slow motion. I can work on an example of this.