The sentence that uses modifiers correctly is, 'Sliding down the banister for fun, the boy broke his leg.' This sentence clearly shows that it was the boy who slid down the banister and subsequently broke his leg. The other two sentences create confusion about who is performing the actions described.
;
Only the third sentence accurately uses modifiers to clarify the subject's actions, making it clear that the boy slid down the banister before the injury occurred. ;