Fixed dragging of widgets.

git-svn-id: https://energine.googlecode.com/svn/trunk@2804 acdd3125-bb50-0410-93b3-95ffde4b7c7d