Fixed some bugs on map layers