Fixed calculating the wrapper width.