fix reordering overlays