FIXED error with wrong positionX, positionY data