Fix advanced_inv in MSVC - store item pointers instead of copying them