Here is the sentence:
Sheila watched Desmond stuff his mouth with a cupcake frosted with vanilla
icing.
Very impressive! Frosted with vanilla icing, a participle phrase, comes right after the noun cupcake. This is a clear and logical pairing of target and modifier. There is no error.