Fix scrollBehavior='none' on path update

Fixes #369.

Test Plan: npm test
Merge pull request #370 from spicyj/gh-369

Fix scrollBehavior='none' on path update