Fixed some scaling issues.