Zathura

The "astronaut" (Dax Shepard) was really Walter from an alternate timeline, who had wished his brother was never born. Walter (Josh Hutcherson) corrects corrects this error. Danny (Jonah Bobo) wins the game, and the boys' home returns to normal.

Thanks, Steve V!

(Links open in new window)
Read more about this film at The Internet Movie Database.