Have you tried tapping the screen where you want the cameta to focus?I'm sure. It'll ignore the pet dove and focus on the background instead. If it does focus, sometimes all it takes is for the bird to move its head and the shot gets ruined because it doesn't see the bird head.
The other issue is to make sure that you are not inside the minimum focus distance.