Reticle compensating rifle barrel reference sensor