Since commit c04289853f the `width` parameter may be undefined, but it is still set unconditionally, whoops.