Modern Shipmate in “Pirates of the Caribbean: Curse of the Black Pearl”

In the first “Pirates of the Caribbean” film, there’s a scene where Jack Sparrow, played by Johnny Depp, is aboard a ship with several other pirates. While he is the main focus, in one scene you can see a man dressed in a modern white T-shirt and sort of cowboy hat in the background. He definitely would not have been dressed like that in the 1700’s when this movie was supposed to take place.