Fixed onmousedown/up event