Fix bug that sometimes caused websites not to be displayed.