shell: account for the subsurfaces when going fullscreen or maximizing