ui/player: fix possible local thread caching