I can not get the correct cursor position in Firefox. Already tried and through clientX, layerX, pageX (offset set using ref) to get the cursor position in the component. It does not work out normally, periodically skips 0 in the received coordinates. Thanks in advance for the tips.