fix layer and map thumbnails