Fixed the code where the server needs to synchronize to all clients when a new client joins