Fixed endscreen not being removed.