fixed bugs for sprints in level editor