Kobbie Mainoo settled a thrilling Premier League clash at Old Trafford with his first-time strike from the edge of the area.