Restricting the diff to the files that a filter leaves visible drops the delete-side entry of a staged rename, so git shows the file as an addition instead. Its commit files counterpart already passes both paths; this brings the files panel in line.