Pass QPointF to widget->shape conversion function
There is no reason to truncate values when QMouseEvent provides
a QPointF and subsequent calculation are all float too.
NOTE: Qt 5.12 does not appear to calculate QMouseEvent::localPos() with
with fractional precision yet even though it definitely should with
fractional UI scaling, and windowPos() does so.