if i set the sprite speed very fast, the program closes