Fixed bug in newly created attribute widgets

They become the fractional part of their value.
Improved initial location of dragged images

Both local files and HTML.