Fix ArrayIndexOutOfBoundsException in Size

Inventory slots are counted from 0 so e.g. last item in `ONE_LINE` is in slot 8, not 9.

Before, when you will fit with 27, and `ItemMenu#setItem(27, item)` you will get `ArrayIndexOutOfBoundsException`. This pull request fix it.