Fix issue with too many chart redraws