Reduce redundant forceRepaints.