Added missing width attribute. Copied improvement from rabbihole for the zero distance case.