Fixed a bug with multiple mouse button presses during drag, and a typo.