In these cases, it is preferable to mask the inside of the cavities 126 with a material to be removed later such as a solution, an organic resin, or any other similar materials, so that the light shielding films 396 are not intruded to the inside of the cavities 126.