Changed the element id to text1, text 2, shape1, shape2 etc. Added an ElementZSortList and ElementId to the model.