qlayer() correctly obtains the scene; fix for #4