Bug 981699 - Skip resizeTo() call when restoring a maximized window that is currently maximized r=smacleod