Update itext_behavior.mixin.js

Changed document to fabric.document for node compatibility.