Fixed highlighting the JTextArea for statistics would crash the game.