Modify the z-index of the mask and the format.