watermark resize fix