added auto z-ordering of scene objects on init