Fixed discrepancy where apostrophe key press was interpreted as right arrow.