Fix issue with soft hyphen width calculations