Fix off-by-0.5 bug in the reflection in the julia demo