I guess line 104 is somewhere in changeFrame()?
scene
probably doesn’t point to the actual scene.
Dangerous stuff having a global named scene
, in the Metrus constructor you’re actually shadowing scene (using the passed argument, also called scene
).