Merge pull request #5206 from ligfx/fixcustomtextures TextureCacheBase: fix custom textures not being loaded