Add drag and drop for object tile (and fix some bugs)