cursor is moved to most left window after html convert