fixing firefox graph display bug