Fix issue where objects were sometimes unresponsive after dragging.