Fixed caret move in FF