Fix punctuation character typing