Fixed a bug that reloaded the favicon after closing a popup (Caused by editing the url # hash, even though it was empty)