Fixed a bug in the typewriter delay