The best solution I've found during my investigation is call preventDefault and stopPropagation functions not on "mousedown" event but on "pointerdown" instead.
Looks like any browser triggers "pointerdown" event before "mousedown" event and preventing "pointerdown" event prevents focus as well.