Dragexit/dragleave fix. Implements #134