Bug 1070865 - Fix incorrect resize within popup window

Does this work if there are 4 front windows?