Fixed so UndoManager events pass though the original event that created the undo level such as a keydown, blur etc.