Merge pull request #6430 from stenzek/uid-cache-fixes ShaderCache: Fix several issues in background shader compiling