Removed loading animation.
Changed dragstart handler to window.

Fixes dragging issues during image resizing.