Fixed the bug of the first frame.