Fix for auto scroll feature in plots.