Fixed loading textures/objects in the wrong order