fixed the initialization of view listener when player joins