Surely anyone aren't paying capital gain taxes especially if they incurred a capital loss. In addition to fluctuations in currency exchange rates, they might get furher losses. International investors may also be buying up real estate for various reasons from a family member studying in Canada to having idea to immigrate, vacation/holiday or return to the country for retirement ... if they have status in Canada.
People buy houses in family members names to avoid foreign buyers taxes and taxes in general to allow people to claim the home as their primary residence. Many want to obscure who the “true” owners are. Most foreign investors are from countries where they aren’t going to have to declare capital gains. If anything most foreign investor just sit on real estate in Canada. They treat it like a safety deposit box.