Fixing bug where the ratios would be processed even if 'ratio' was not specified in the display style