Fix crash in controls menu.