Fixes last character cropping bug

Test case [here](https://gist.github.com/anonymous/e011a77f37026521bf23). Comment out line 21 to observe the bug with `wrap:true`.