Fixed the main content invisible bug