Fixed some display-related issues.