disable selecting when mouseleave