Fix scrolling on repaint partially drawn items