Take another look at the sentence:
Sheila watched Desmond stuff his mouth with a cupcake frosted with vanilla
icing.
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.
Before you continue, review the rules for misplaced and dangling modifiers.