I’m having a similar problem with my experiment:
On each trial, I am showing a jpeg on screen with a few polygons, a few of which are acting as clickable buttons. Participants then rate the image on a couple of scales (with the image present on screen in few routines… However, after about 40-50 trials, the screen flashes white briefly. The rating scales and text in the subsequent routines then seem to render in a very weird way, though the jpegs and polygons seem to render just fine.
In the javascript console, I see the same error about the context being lost as reported above. My experiment involves presentation of a few hundred small jpegs (all under 20 kb).
I could probably try shrinking the files further, but they are already very compressed. Changing the size of the images within psychoJS also didn’t help.
Any help with this would be appreciated, as I’m at my wits end trying to fix this.