[Bugfix] Site not completely loaded when activating

Because a site has been loaded in a new thread it often happened that the site
wasn't completely loaded when it was activated.
This lead to strange behavior like actions which weren't available as expected.