prevent textures from loading while headless