Fixed player quiting