added zOrder to Entity