Correct restart?

Thoughts on this pls all,
Had an U16 game today, corner taken and I’m lurking towards the back end of the goal area, ball gets nodded down and a player from each team launch themselves at it which causes the ball to squirt out at an odd angle with pace hitting me clean in the chest and out over the goal line.

I’m not sure which player touched it last but if it hadn’t hit me it would have gone across the pitch and out for a throw!

so I’m stood there thinking corner, GK or drop ball? I went for the “safe option” awarding a GK but was I correct?