Bug fix in watermark_image()