Increased repaint performance