Fixed latest bug with setChar(x) function.