When does Gaussian equivalence fail and how to fix it: Non-universal behavior of random features with quadratic scaling