closed #2418: Unused spriteframes also need to be removed when purgeCachedData.