Fixes an Exception error during inventory swapping.
Also a bandaid order of operations fix during item equipping.