Fix bug on old tracking demo.