Fixed reloading textures on resourcepack switch