Fix wrong behavior when the user uses more than one finger to move a tile
Fix wrong behavior when the mouse leaves the window while moving a tile, close #19