fix($browser): detect changes to the browser url that happened in sync

Closes #6976.