For some reason, magic carpet gets canceled when abilities that you used early hit enemies. This happens with any hero that has some sort of ability that can hit enemies secondsd after cast.
Magic carpet description says "... doing any action will dismiss the carpet.". To me, this means "using any ability mid-flight", but apparently abilities hitting people post-cast counts as "doing any action".
If this is inteended behavior, they need to add "...doing any damage to heroes or doing any action will dismiss the carpet" to the description.
I posted this same problem a while ago, but using paradox nades as an example.
Is this really intended? Magic carpet gets canceled by abilities that you used seconds ago. Description says "doing any action will dismiss the carpet" which implies using anything while flying, not anything that you used seconds ago.
This also happens with:
-Warden's cage
-Ivy air drop
-Miku Guinness's turrets
-Viscous splatter
...and probably many more
If its intended, maybe the description needs to change to "doing any damage to creeps/enemies dismisses the carpet"?