Unfortunately this is complicated with the current method. The Z value is in fact not a value, but a position in a list. All the objects in the animation are ordered in a global list, and drawn in this order. It is the same in SVG, and it would be a bit complicated to do it differently.