Loads all textures from a mesh into a resource manager is now fixed. This will make it easier to not be able to load same textures multiple times.