When using the default line list, on the left edge of the spectrum occurres a line with no meaning. The line cannot be moved with the "Shift mask" operation.
Looks like a "off-by-one" problem.
Lines that are not assigned a pixel in the valid pixel range get the pixel value 0, and are therefore always placed at the left edge. They should simply be deleted.