Fixed recalling sometimes invalidating undo