diff --git a/src/htmldrawer.js b/src/htmldrawer.js
index 3d04f444..80f851e4 100644
--- a/src/htmldrawer.js
+++ b/src/htmldrawer.js
@@ -126,7 +126,7 @@ class HTMLDrawer extends OpenSeadragon.DrawerBase{
* Destroy the drawer (unload current loaded tiles)
*/
destroy() {
- this.canvas.innerHTML = "";
+ this.container.removeChild(this.canvas);
}
/**