Bug 1070865 - Fix incorrect resize within popup window