sprite renderer crash fixed