Why am I seeing this?

The game div goes black and the console shows a drawing error just a few seconds after the game starts.

Can’t say. Try to run it in a browser and break on error and look at the bad value.

It was a sprite that for some reason undefined its texture. thank you