Fix 1830245: always leave only the newly created layers selected.