Reduce number of repetitive update_rect updates in the source.