Fix use case where base URL is specified after live preview open starts.

Fix for #4366. Regression from pull #4357 (issue #4349).