All incoming transactions such as gifts, mined coins and other income are calculated by default with the cost basis at the time of the transaction. 

If you would rather calculate with a cost basis of 0 USD (or any other FIAT), open on the Realized and Unrealized Gains page the "Filter" and click on the corresponding trade type twice with the result that the slider moves to the middle position.

Finally apply the filter settings.