Yes, it happens a LOT. I can't point fingers (it's not polite, and I'm Canadian), but it's what prompted me to write the article.
And yes, it does matter who owns the IP. If a sale happens, the proceeds to to the residing country's tax base. If it's not in Canada, we lose out on those gains.