Fix portrait layout display issues.