Fixed the order a couple for loops ran in VBox.