Prevent completion dialog from being cut off if window not maximized

In testing the changes to completion dialog handling in proceed.py under Windows 8.1 x64 I noticed that the right side of the popup dialog was cut off unless the calibre window was maximized. It appears that the position is being calculated incorrectly.