fix #1745 prevent firefox click after drag