An afterimage is left at the top of the editor when scrolling

When scrolling in the code editor screen, a few lines of code at the top follow me as I scroll, as if they are pinned to the top.