Fixed some view display problem.