your problem is using angular structural directive (*ngIF) in the following HTML code
<div *ngIf="!isMonitor" fxFlex="100" [ngClass]="opened?'stage-show':'stage-hide'">
<div id="canvas"></div>
</div>
“canvas” div is buried under a structural directive is the root cause of this problem. you can use ngClass technique to display and not to display “canvas” div instead of *ngIf