Force window repaint