Insertion of previous key states (for dead keys) into events is now done