I wish to show current position within element with a text box under cursor position. below code looks like has some offset between mouse and text box. how can I fix it to show