When Mario defiantly goes into the corral with a lariat rope, he doesn't close the gate behind him, and it is seen swinging open after he walks toward the horses. Seconds later when Hoss goes to see why the horses are excited, the gate is latched closed.