Added TextureLoader but with a strange bug