cut spritesheet image into single frames