support for shadows even when root view is masked