correct z order after dragging marker