I have been working on this app and i took inspiration here on how to make the pop-up windows appear next to the point hovered. It is working very well on my work laptop (15 inches), however when i used my personal laptop (13inches), the pop-up windows appear in strange locations.
I imagine this has to do with the general display settings of the laptops as my smaller one uses a scaling of 150% (which is the recommended option).
However, I don't get how to adapt the script so that it would work with all screens.
My code is here.