I can accept ふいんき as an exception, but for 原因 that's just a consequence of the rules for how to pronounce ん, which depends on the surrounding sounds (it's not quite い either). I wouldn't really call it an exception. Consider 一千円, 禁煙 etc all of which are pronounced like that.