Revert new open inventory detector, it is not working