Error in presentation mode
When switching to presentation mode and running script, an error is shown.
System: raspberry pi 2 OS: current os 'bullseye' 2021-10-30-raspios-bullseye-armhf.img nuscratch: installed with sudo apt install nuscratch
Problem is reported from all pi in classroom, code is different.
Scripts are running 'on stage' without problems. When restarting scratch, the scripts run ok on stage, but again fail in presentation mode.

Note: Variable names are a bit strange in the sample, but the two kids from this place made some fun out of this.
That's a little surprising.
I will take a look and try to issue an update, but I can't promise it will be quick (day job is very time consuming). Feel free to remind me or to add more info if you find any.