Added setZ and getZ for sprite child.