jQuery & HTML5 interaction problems
===

I have made a simple demo here - http://jsfiddle.net/Apoc/PhFrP/6/

The problem is that while resizing the window, the event happens in a bit quanized way.
I feel it is because the jquery-ui resizes the dialog box as well as the canvas image inside it simultaneously.
I am using this [Windowing Library.](http://hernan.amiune.com/labs/jQuery-Windows-Engine-Plugin/jQuery-Windows-Engine-Plugin.html)

Has anyone ever come across anything of this sort?
What should I do to prevent any sort of interaction while resizing the iframe?

Thanks in advance.