Fix pdf rendering of images - still need scaling