Why is turbotax not offsetting my capital losses from my capital gains for NJ state return?

For example, if I have $5000 in Capital Gains Distributions, and $3000 in Capital Losses, my net gain should be $2000. However, Turbotax is showing $5000 as net Capital Gains.