Materials in rendered view display as transparent

It oddly doesn’t happen to the default material, but to all new materials applied.