Fix problem with images