Fix focusOnSelect

missing parseInt on Str index