Changed setFrameSize value in the sample.