clean up unnecessary redraws