Most likely the other student did not completely block her from grabbing you because she was at an angle so you were grabbed but since you had an apple, it was taken.
I can not say for certain since I did not test this update as much as I would like to.