Fix problem with referenced picture