added PDF workaround for ImageMagick Driver only