Fixed onmouseup/down event