Input loses focus on first render when using navigate - TanStack