Fix scrollBehavior='none' on path update

Test Plan: npm test