leaving game bug fix