It seems that this is due to some race conditions that are conflicting on the jQuery code when the shipping API takes more than roughly 3 seconds to calculate/recalculate estimates. I have tested it and anything faster than 3 seconds still works normally.
I have filed a bug and it has been confirmed:
https://bt.x-cart.com/view.php?id=44426