It's been my experience that this happens if you simply
record with the "Record keystrokes" option enabled. I seem to find
that it's a "best practice" to tap the Print Screen key after I
complete typing the last character.
That's worked for me in the past. Hopefully it will work for