Fixed some viewport issues.