Fixed inversion. Quite easy ;-) No need for additional variables, there's dragStartGeometry already.