fixed bug in edit mode trying to add wall to map without wall layer