The teenagers accused of allegedly starting a bushfire that closed a major highway in Perth's south-east had lost control of a campfire after spraying it with an aerosol can, a court heard.