Tweak the behaviour of navigateTo during document load
Merge pull request #3341 from Snuffleupagus/navigateTo-fix

Tweak the behaviour of navigateTo during document load