QImage::size() returns the size of the cursor image in the native pixels. We cannot use it as the cursor size. (cherry picked from commit 170a0b63)