Withdraw - Re-Deposit results in double Net Deposit

Hello!

I am facing the problem when I withdrawn some of my funds to a personal wallet, and then returned it back (via Deposit) to the CoinBase Pro account. The withdrawal did not reflect neither on my portfolio market value, not on Net Deposits. Nonetheless after depositing the same funds back on the account, I am seeing the increase in both portfolio value and net deposits.

How do I fix this (especially in front of IRS)?