Fix ratio returned by projectsettingsdialog.