Then how could you expect Air Canada to be more proactive? The government of Canada tells you not to purchase tickets before having a visa.
I get you think it's unfair, sure, but once you're in Canadian territory you're protected by Canadian laws, including rights to fair process, travel, etc...