added guard for spritesheet component (only works version version 1 style spritesheets)