Corrected drawSprite in spriteGraphics.