Fixes double-call of 'done' callback at end of drag.