core: Recompute stats after resize.