Prediction fix. Repaint after layout fixed.