Update layer order when switching back to overlaid mode.