Gun violence has become increasingly common in PG-13 movies like The Avengers, released in 2012.