Chaos erupted in added time after a controversial penalty was awarded to Morocco following a VAR review.