Fix touch caret not show when focusing in js.