Resolves: fdo#87189 don't draw negative canvas sizes

Change-Id: Ia52bc54084883817ffdd8ade06c3079865d52f70