add target check for mousedown event