What's wrong with this simple derivation of energy flux in a photon gas?

In a photon gas, we know that pressure, $P$, and energy density, $u$, are related by: $$P=\frac{u}{3}$$ We also know from relativity that the momentum of a photon is $$p=\frac{E}{c}$$

Finally, the pressure can usually be thought of as the flux of momentum through a surface, but that would imply that the flux of energy through that surface is: $$E_{e}=Pc=\frac{u}{3} c$$

However, the standard formula, from kinetic theory, is:

$$E_{e}=\frac{u}{4} c$$

I guess the assumption which is most probably wrong is identifying this sort of thermodynamic pressure with momentum flux, but I'm not sure how this comes about.

$\frac{1}{4} = \frac{1}{4\pi}\int_{0}^{2\pi}\int_{0}^{\frac{\pi}{2}}\sin(\theta)\cos(\theta)d\theta d\phi$
$\frac{1}{3}=\frac{2}{4\pi}\int_{0}^{2\pi}\int_{0}^{\frac{\pi}{2}}\sin(\theta)\cos^2(\theta)d\theta d\phi$