Fixed the page loader to work with the new rendering