Fixed a bug in the settings GUI where the slider would reset after clicking on checkboxes.