In my code for some reason I performed a SetHTML(''); then SetHTML(content); and that caused it to jump to the field.
I've taken the blank SetHTML out and it work's properly.
In your example if you SetHTML with blank input, it gives the control focus.