Fix #9396: Correct watermark alignement computation

When using a higher than wide images, the ratio computation were
inverted.

Signed-off-by: bleader <bleader@ratonland.org>
Merge pull request #221 from bleader/master

Fix watermark width computation on images higher than wide