Thanks!
Yes, the Z ordering is a rather complicated thing since its all being drawn on a plane dinamically, its not 3d, and its all mounted in drawings, so I had ideas on what to do but couldnt implement on time.