Fixed back screen on transtition from menustate to mainstate.