Instead of relying on the the `U.ui_scale` being set when activating the window, calculate the cursor size from the windows DPI. This also de-duplicates cursor scale calculation.
Instead of relying on the the `U.ui_scale` being set when activating the window, calculate the cursor size from the windows DPI. This also de-duplicates cursor scale calculation.