Fix #10412 (option whether to show newly added layers)