Fix graph fluctuation when zoomed in