It seems that the issue was in mounting spiner container as neighbour of viewer container when model is not loaded. I remove that spiner and issue is not fires again.
I assume that this spinner shifted viewer container out of viewport and all handlers inside the viewer are trying to use those negative canvasY values from container which was out of viewport.
Below you can see my return from React component with viewer. I removed {!modelLoaded && <IdleLoader />}
and after that i cannot reproduce this issue.
return (
<>
{!modelLoaded && <IdleLoader />}
<div ref={container}></div>
</>
);