Fixed the issue of focusing on Firefox
move the text input hidden and move it with cursor