fixed scaling issues with odd aspect ratios