I had thought a property of correlation is that it is invariant to scaling and offsets $\hat{y} = x\hat{\beta}_1 + \hat{\beta}_0$, so $\hat{y}$ is just a scaled and offset version of $x$.
So shouldn't $corr(y, \hat{y}) = corr(y, x)$? Where does the absolute value come from?