Barrier position calculation now working