An 'arrogant' pigeon was nearly hit by the cricket ball during Kent's victory over Somerset in the T20 Blast.