Added 'update_cursor_pos' function to InputBox element.
Added ability to adjust the cursor position inside of an InputBox using clicks.