Moving image after using line tool

I see that if you use the line tool and create an image with it, now go to the next frame and then move it in any direction, you see that your screen will display the image again but at its original location. I used the eraser but it disappeared, then use the pen and you will see the image appear again. This time you will see that the eraser now works on it because it won’t disappear. Remember this can affect your other image if you try to erase it.