dirty rects seem to be working