Add new shape api

Add the shape api which allows to work with a lot of different shapes in
3d space and does the math for the user.
Fix SelectInventory item click issue

The SelectInventory now cancels the event when the player clicks on an
item so the player can no longer take the item.