Fixed inventory alignment. Issue #2158
Fixed inventory alignment. Issue #2158