Fixed keyboard-background field on undo/redo.