This is untested in that I don't have a Windows 8 VM where move rects are supplied, but seems sound.
host