Fixed popup windows locations so that they are relative to window, not
screen.