Resolves bug with viewing the black-page.