At $171 million, it was also the biggest opening of the franchise and the second best of all time for an animated film.