Update: repaint of window while dragging