bug 919803 fix panel sizing by not removing panel iframe unecessarily, r=markh