added initial ZIndex sorting on the end of scene creation