resetting endscreen z-index on reset