When the main thread is blocked, all UI elements are frozen.
The hover effect on buttons is also blocked:
When the worker thread is blocked, the main thread is free to do work such as the element hover effects and animations. Blocking the worker thread will still prevent Canvas B's counter from being updated, but the rest of the UI stays responsive while this is true.