Geoffrey Rush, left, and Johnny Depp in “Pirates of the Caribbean: Dead Men Tell No Tales.”