Fix a bug with the options window.