 According to the film makers on the DVD commentary, the movie  originally opened with RJ sneaking into Vincent the Bears cave to  steal his food. But then they quickly realized that they were  beginning with something more suspenseful so they invented the  "Vending Machine" sequence at almost the last minute.