Revert "get the XYZ from the player's stack not from where the right-click happened"

This reverts commit 93d008c1a958362d2aaf7033379c5d9216095f5c.