fix frame size problem in firefox