Porting the TB changes the way air enters and flows through it. (Obviously, since this was the reason someone ported it in hopes of increasing power) However, the PCM expects to see a specific airflow at each engine speed and throttle angle.
If the ported TB flows too much more than the reference, this looks like a mechanical failure to the PCM due to a stuck open TB and it clamps down to a safer operating mode to avoid damage. An added side effect is poor idle control since it's difficult for the PCM to figure out what you did to it and why it can't get exactly the right RAF at idle for a certain blade angle.
Porting the TB rarely makes exceptional power increases and almost always leads to issues like these. I never recommend it. Instead, you can look at installing a larger OEM TB (from an LS7, for example) ONLY if you go into the calibration and update all of the appropriate ETC parameters.