Repaint only the dirty area