Fixes title change bug on initial page load

and already fixed #4