Memory cache live resources repeatedly purged during painting