Focus fix when called by jQueryUI dialog, reverse mousemove delta, ...
Bugfix