Jamie Foxx and his team departed the set after a police officer shot a security guard during an argument. As a result, they were forced to film the ending in Miami instead of Paraguay, which, in Mann's words, "was like turning an oil tanker around on a dime, but the Miami ending worked out to be the better ending."