Allow resize operations to exist happily in the undo buffer.