Fixes cancel rendering regression
Merge pull request #4724 from yurydelendik/issue4723

Fixes cancel rendering regression
Fixes disableWorker regression
Merge pull request #4730 from yurydelendik/disableworker

Fixes disableWorker regression