Repaint on position and size changes.