Fix inventory size calculating being 1 too low