Fix the problem in which the splash screen wouldn't show up