fixed createSprite bug in main