Fix a gamepad menu crash.