Fixes a NullPointerException in Chart.java when enable/disable scroll.