Avoid division by 0 on width calc. JN