Avoid empty titles & broken images in layer manager