Fix JS emulator on recent Firefox versions

Seems that it is no longer possible to change the value of window.screen
in recent versions of Firefox.

Fix by renaming this variable to window.screenCanvas.