retain zOrder when editing