fdo#78535: Don't process borders of 0 width.

Or they would get drawn for real.

Change-Id: Iec24e70a80ff8aa1ef7512e71249a99243297c4e