[main] Add a cover layer to mask image