String Typewriter r3 bugfix

index didn't reset on state loops