Which sentence contains a misplaced modifier?

A:On his way to school, Ricky counted eleven blue cars.
B:After dinner, I went to my room to do my homework.
C:During winter, the birds eat at the feeder on the porch.
D:
As it glowed in the sky, the wolf howled at the moon.