compositor: Fix scene-graph debug scope missing views based on sub-surfaces

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
2 jobs for master in 4 minutes and 14 seconds (queued for 1 minute and 28 seconds)
Status Job ID Name Coverage
  Build
passed #123644
build-native-autotools

00:04:14

passed #123645
build-native-meson

00:02:48