Adds workaround to keep the layout if no image is available