Fixed some corner case issues with our optimising of axes in our graph panels.