--- eventblock.js.old	2008-08-31 14:34:59.000000000 +0200
+++ eventblock.js	2008-08-31 17:01:32.000000000 +0200
@@ -31,10 +31,10 @@
 
   // Keep block at it's current width/height to make the update less disruptive
   this.styleHeight = $(element).height();
   this.styleWidth  = $(element).width();
-  $(element).height(element.offsetHeight+"px");
-  $(element).width(element.offsetWidth+"px");
+  $(element).height(element[0].offsetHeight+"px");
+  $(element).width(element[0].offsetWidth+"px");
 
   // Clear block contents
   $(element).html("");
 
