Fixed failure to load when typing URL into address bar or clicking link.

Originally found a description of the problem on the forum post:
http://forums.informaction.com/viewtopic.php?f=25&t=16649
Merge pull request #2 from PeteHemery/develop

Fixed failure to load when typing URL into address bar or clicking link.