repair a bug that can't display LeftFrame at first time.