Moving a window fast on low performance machine or between two monitors causes incorrect offset to be applied to the mouse cursor