Fixes #380. Added browser-specific drag and drop handling. Changed draggable element setup to get image of dragged element while dragging in Safari.