fix the position of the selection div when entering rename mode

This fixes the position of the selection `<div>` when entering the rename mode in the file tree.

CC @dangoor & @larz0, could you please verify that this works now as expected. Thanks.