added checking for stopped propagation for mousedown event