Fix spriteCheck