Fix layer selection after deletion

Issue #97