Fix calendar scaling issues.