On a bike ride a few months back, I saw a smaller bird fly right up to a chain link fence as if it were going to dive through one of the diamonds, stop itself in an instant before going through the fence because it realized it couldn't make it, turn, and fly upwards about a foot to fly over the fence through some barbed wire instead. This all happened in a fraction of a second.