Fix: could not change map layers

(closes #87)