Properly account for decoration padding when calculating mousePosition in window, needed to decide cursor shape. BUG: 231844
Changed paths: