diff --git a/extensions/cornerstone/src/services/ViewportService/CornerstoneViewportService.ts b/extensions/cornerstone/src/services/ViewportService/CornerstoneViewportService.ts index f9be8b2a991..a14916e0f09 100644 --- a/extensions/cornerstone/src/services/ViewportService/CornerstoneViewportService.ts +++ b/extensions/cornerstone/src/services/ViewportService/CornerstoneViewportService.ts @@ -1008,8 +1008,8 @@ class CornerstoneViewportService extends PubSubService implements IViewportServi }); // Resize and render the rendering engine again. - this.renderingEngine?.resize(isImmediate); - this.renderingEngine?.render(); + renderingEngine.resize(isImmediate); + renderingEngine.render(); } private resetGridResizeTimeout() {