Added support for screen scaling
When screen scaling is enabled, the values reported on the ruler are referred to the logical space, not the physical space. This commit compensates for the Qt scaling by remapping the values when needed.
Attached is the difference between before and after (screen is 3840x2160 with scaling set to 2):