amend(slidebox): add null-check for slide.scope

Addresses #2530