Your repro was exact, thanks. It is not the resize caching, it is the first layout. If the canvas measures 0x0 when the script runs (fresh profile, iframe not sized yet), the start position is derived from that zero and never re-derived when the box arrives, so the player sits clipped at the top-left and then falls down the left edge on the first click. Retry calls reset, which re-derives from the real size, which is why it lands 22% across.
Reproduced it with a delayed-size iframe: px=0, py=-22, s=22 against 140.8 / 255.6 on a normal load, same numbers as your report.
Fix is live now (upload 20998105): the start state is derived from the current canvas size whenever the first run is still waiting for a tap, a per-frame check catches a missed resize event, and nothing draws on a canvas with no usable size. Same harness, both loads now place at 140.8 / 255.6.