Fix a crash on entering control options menu