Fix inventory switching for characters