Basic dragging of objects is implemented, but has a few bugs.