render is now only execute when both the texture and the model are loaded