Which sentence contains a misplaced modifier?
A. Caught wearing the stolen goods, the girl was arrested by the police.
B. Caught wearing the stolen goods, the police arrested the girl.