It fixes the artifacts after using undo during painting with lightness mode of the colorsmudge brush.