diff --git a/src/pixi/InteractionManager.js b/src/pixi/InteractionManager.js index 16554c5..5221ef2 100644 --- a/src/pixi/InteractionManager.js +++ b/src/pixi/InteractionManager.js @@ -133,7 +133,11 @@ this.target = target; - this.setTargetDomElement( target.view ); + //check if the dom element has been set. If it has don't do anything + if( this.interactionDOMElement === null ) { + + this.setTargetDomElement( target.view ); + } document.body.addEventListener('mouseup', this.onMouseUp, true); }