Click positioning is not accurate Minimap

I have encountered a problem. When using minimap, if the position of miniMap relative to the screen is fixed, there is no problem in clicking or dragging. However, when the page supports scrolling and minimap scrolls along with the screen, the position of minimap relative to the screen will change, so when I click the minimap again, There will be the problem of inaccurate positioning.

Do you know what to do in this situation? Or is there a way to reinitialize or reset the current location?

Thank you very much.

I guess you were able to resolve your issue? If not, please provide a setup where we can reproduce your issue.