Update resize.with.canvas.js
Update resize.with.canvas.js

wrapped in a self invoking function;
fixed issue on first click over an image;

Alex-D/Trumbowyg,Alex-D/Trumbowyg,timint/Trumbowyg,timint/Trumbowyg