[Canvas worker] pass own canvas fix
diff --git a/player/js/module_worker.js b/player/js/module_worker.js
index fc4faa9..4ae2ae1 100644
--- a/player/js/module_worker.js
+++ b/player/js/module_worker.js
@@ -666,16 +666,19 @@
           animation.container = animationParams.container;
           delete animationParams.container;
         }
-        if (animationParams.renderer === 'canvas' && !animationParams.rendererSettings.canvas) {
-          var canvas = document.createElement('canvas');
-          animation.container.appendChild(canvas);
-          canvas.width = animationParams.animationData.w;
-          canvas.height = animationParams.animationData.h;
-          canvas.style.width = '100%';
-          canvas.style.height = '100%';
-          var offscreen = canvas.transferControlToOffscreen();
-          transferedObjects.push(offscreen);
-          animationParams.rendererSettings.canvas = offscreen;
+        if (animationParams.renderer === 'canvas') {
+          if (!animationParams.rendererSettings.canvas) {
+            var canvas = document.createElement('canvas');
+            animation.container.appendChild(canvas);
+            canvas.width = animationParams.animationData.w;
+            canvas.height = animationParams.animationData.h;
+            canvas.style.width = '100%';
+            canvas.style.height = '100%';
+            var offscreen = canvas.transferControlToOffscreen();
+            animationParams.rendererSettings.canvas = offscreen;
+          }
+
+          transferedObjects.push(animationParams.rendererSettings.canvas);
         }
         animations[animationId] = animation;
         workerInstance.postMessage({
diff --git a/player/js/worker_wrapper.js b/player/js/worker_wrapper.js
index 21cdbed..97f5e42 100644
--- a/player/js/worker_wrapper.js
+++ b/player/js/worker_wrapper.js
@@ -714,16 +714,19 @@
           animation.container = animationParams.container;
           delete animationParams.container;
         }
-        if (animationParams.renderer === 'canvas' && !animationParams.rendererSettings.canvas) {
-          var canvas = document.createElement('canvas');
-          animation.container.appendChild(canvas);
-          canvas.width = animationParams.animationData.w;
-          canvas.height = animationParams.animationData.h;
-          canvas.style.width = '100%';
-          canvas.style.height = '100%';
-          var offscreen = canvas.transferControlToOffscreen();
-          transferedObjects.push(offscreen);
-          animationParams.rendererSettings.canvas = offscreen;
+        if (animationParams.renderer === 'canvas') {
+          if (!animationParams.rendererSettings.canvas) {
+            var canvas = document.createElement('canvas');
+            animation.container.appendChild(canvas);
+            canvas.width = animationParams.animationData.w;
+            canvas.height = animationParams.animationData.h;
+            canvas.style.width = '100%';
+            canvas.style.height = '100%';
+            var offscreen = canvas.transferControlToOffscreen();
+            animationParams.rendererSettings.canvas = offscreen;
+          }
+
+          transferedObjects.push(animationParams.rendererSettings.canvas);
         }
         animations[animationId] = animation;
         workerInstance.postMessage({