fix button click/drag issue on device