Fix undo/redo (only Google Chrome for now)
(989ccf4ad22ca74f6501980e364f91f397ae594b)