Problem
The error-cache check in SphereModelErrorImpl::setModelParameters compares coeff_y and coeff_z with themselves, so a sphere that only moved in y or z reuses the previous sphere's errors.
Fix
Compare the stored center_y and center_z with the new values, the same way center_x and radius are already compared.