Fixed drag script. It now maintains relative position of the mouse.