Fixing the tooltip of the history widget