Only preventdefault on click/dblclick