Attempting to fix socket with canvas updating