Allows the game to be restarted if collision is detected.