Changed click to mousedown