There's a difference in losing a duel and then taking the wrong angle, letting Ronaldo run at your back and losing a step. Furthermore Morocco didn't have a guy in the front part of the little box to cover the zone.
Ronaldo is great at making defenders look stupid, but Morocco $#@!ed up themself in this case.