Pause in gamenu but not working properly