fix for bug when reloading level in web player