diff --git a/src/gui/options/options.js b/src/gui/options/options.js
index 38bcafa8e6a50efa891425346bb08026ae76ab32..1568484d9a5160e3e911c9698924afc3bd3afb92 100644
--- a/src/gui/options/options.js
+++ b/src/gui/options/options.js
@@ -274,10 +274,10 @@ App.UI.OptionsGroup = (function() {
 					}
 					select.onchange = () => {
 						const O = select.options[select.selectedIndex];
-						if (Number(O.value)) {
-							option.object[option.property] = Number(O.value);
-						} else {
+						if (isNaN(Number(O.value))) {
 							option.object[option.property] = O.value;
+						} else {
+							option.object[option.property] = Number(O.value);
 						}
 					};
 					buttonGroup.append(select);