Fixed the output frame size.