toggle scene bug fixing