Skip creation of frame if frame size is 0