Fix for 'folder' layer type