Attempt to fix InvTweaks compatibility