Consider the following sentence:
"While walking through the park, the flowers caught my eye."
Which of the following options corrects the syntax error in the sentence?