fixed so that huds work with loads of textures