Fixed the resize of the graph board.