Set numberOfHorizontalCharacters instead of width, and setNumberOfVerticalCharacters instead of height