Merge "Remove minLayer and maxLayer from display screenshot."