Fixes width counting issue