React Set Input Cursor Positioning