And if you read the book instead of blindly judging Card and the content based on the movie, you'd know that Ender constantly battles with the subconscious knowledge that he DID in fact kill Stilson and Bonzo, and wrestles with his guilt for the rest of his life over the Xenocide, constantly working to perform good deeds for the sake of the hive queen. It's the WHOLE POINT of the story. He DOES suffer the consequences, being vilified as basically the worst human in history.
On top of that, Graff and other officers are put on trial for their actions (and inactions) during the events of the book. You can't judge a work based solely on a movie, and you especially can't judge the author when so many things are changed between the source material and the collaborative effort on the movie.