Fix TotalFrameNumberText lost when size changed on Linux`