My game runs as described in greenfoot, but does not work properly when trying to play it in the web browser (it stops running as soon as you select a difficulty). Is there a known fix/workaround for this? My source code is available on the scenario page.