In a repo with very few commits, the height of the view (in lines) can be higher than the number of commit lines. I this case the view can be scrolled down, so that there are empty lines above the latest commit. Left-clicking on a line then selects not the line the mouse pointer is at, but a different line below.