8va line disapearing when crossing staves

Hi,
Please watch this video to see my question.

Thanks.

Octave lines are attached to the staff rather than to notes, so when you cross notes to the other staff, they’re no longer governed by the octave line on the lower staff.