Fix CSS issue causing box-shadow to be cut off