Fix send message if ui lock.