The sentence that contains an incorrect pronoun shift is:
"I thought I saw a dog bury their bone under the tree."
The pronoun "their" is plural, while the noun "dog" is singular. A more consistent pronoun would be "its" to refer to the singular dog. The corrected sentence would read: "I thought I saw a dog bury its bone under the tree."