replaced getDisplacement with getPosition, dummy works.