fixed inventory context menu bug