Fix a crash with setting scale factor (fixes #110)

Caused by cached config erroneously saving
new resolution, when resolution change only
supported on restart.