added missing handling of animation mode "random" for global animations