Fixed calculate pipe position from item position. move to center and get floor value.