bug fix: doesnt bug out after exiting level editor