Improve graph centering