Use 2D inventory object instead of explicit width

Requires https://github.com/deathcap/inventory/commit/4c7ea9df3c361a35b229d07ae2fdf257e05fefa7