Render painted objects as well as dirty rectangles.