Fix CAMERA_MIN_DIST and CAMERA_MAX_DIST.