Is this inside the larger loop over the dirty-rects?