This only happens when you play on someones stronghold or in a skirmish match. Not any other map on campaign though. (I only know this because I DID warez this but afterwards purchased it.)
The fact that it's warez might mess it up?
I've played a number of strongholds since and found that it's definitely the instant buildings which causes the issue.