Fix up sprite functions (apparently _CopySprite didn't work).