Fix: could not change map layers (closes #87)
Merge pull request #88 from amshove/mapLayersBroken

- Fix: could not change map layers