Badly working mouse drag