The bug
The "Done" button in the statistics screen is offset. It would be expected to be centered, similar to the rest of the menus.
Fix
GuiStats.java
public void initButtons()
{
-- this.buttonList.add(new GuiButton(0, this.width / 2 + 4, this.height - 28, 150, 20, I18n.format("gui.done")));
++ this.buttonList.add(new GuiButton(0, this.width / 2 - 100, this.height - 27, I18n.format("gui.done")));
//...
}
Confirmed in 1.12-pre3