fix(performance): cache spritesmith image, fix #2633