Fix behavior in latin accent keyboard (maxKeyStrokes = 1)