Fixed sprite generation not ending inclusion guard