fixed bug where new layers were not added to mapCanvas