Fixing bugs on video sync when a new client is connected