Updating the camera mode every frame screws with the scripts, so revert to
updating it when the menu changes.