Fixed graphs being displayed improperly in firefox.