Fixed some scaling problems when mulitple graphs were loaded in succession