Hi Kamal,
the system is behaving correctly while posting the gain/loss as per the exchange rate differentials. the gain/loss on a forward contract is the forward rate - spot rate on the exercising the contract.
I am not sure if there's a way to change this in the system. Probably other experts could confirm this. But yes, the system is correct and this is the standard process.
Regards,
Rohit