My code is in React. So, in one component, say, AppViewerEvents I am handling a mouseMove event inside a canvas. It takes current mouse pointer coordinates on canvas and dis