The word coloring now sets the color at the correct position