miniQuery & Scene.oninit bugfixes