Fixed null pointer bug in random room join