Fix change frame size.