Fix shadow for the DOM

Makes the shadow part of the container.