WPML language links for the mapped domain is wrong

I have multisite installation and domain mapping plugin. I map the domain to my one of the subsite and installed WPML plugin. It seems to work correctly for mapped domains but when I check source code (or language links URLs) it shows original domains. How can I fix it?