Fix font-alignment error caused by the last character's width being counted twice when calculating bounds.