Fix computation of watermark center.