This is the fix for #9408

This fix resizes the input field during the rename operation on a tree node (either File or Directory)

cc @dangoor